#include "progressdialog.h"

ProgressDialog::ProgressDialog( int i )
{
setupUi(this);
progressBar->setMaximum(i);
}

ProgressDialog::~ProgressDialog()
{
}

void ProgressDialog::set_value( int i )
{
progressBar->setValue(i);
}

void ProgressDialog::closeEvent(QCloseEvent * e)
{
e->accept();
}


